<%--
  Created by IntelliJ IDEA.
  User: qiliping
  Date: 15/12/2
  Time: 上午11:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>添加净值</title>
</head>
<body>
<div class="row">
    <div class="col-md-12">
        <!-- BEGIN PAGE TITLE & BREADCRUMB-->
        <h3 class="page-title">
            基金管理 <small>添加基金净值</small>
        </h3>
        <ul class="page-breadcrumb breadcrumb">
            <li><i class="fa fa-home"></i> <a href="${ctx}"> 首页 </a> <i
                    class="fa fa-angle-right"></i></li>
            <li><a href="${ctx}/product"> 基金管理 </a> <i
                    class="fa fa-angle-right"></i></li>
            <li><a href="#"> 添加基金净值 </a></li>
        </ul>
        <!-- END PAGE TITLE & BREADCRUMB-->
    </div>
</div>
<!-- END PAGE HEADER-->
<!------内容区---->
<div class="main">

    <div class="row">
        <div class="col-md-12">
            <form:form modelAttribute="NetValueAddModel" method="post"
                       class="form-horizontal">
                <form:hidden path="productId" ></form:hidden>
                <div class="form-group">
                    <label class="control-label col-md-3">净值计算时间：</label>
                    <div class="col-md-2">
                        <div class="input-daterange input-group">
                            <form:input path="clacDate" cssClass="form-control" maxlength="10" placeholder=""></form:input>
                        </div>

                        <form:errors path="clacDate" cssClass="field-validation-error" element="div"></form:errors>
                    </div>

                </div>
                <div class="form-group">
                    <label class="control-label col-md-3">净值：</label>
                    <div class="col-md-2">
                        <form:input path="netvalue" cssClass="form-control" maxlength="8" placeholder=""></form:input>
                    </div>
                    <form:errors path="netvalue" cssClass="field-validation-error" element="div"></form:errors>
                </div>

                <div class="form-group">
                    <div class="col-md-9 col-md-offset-3">
                        <button type="submit" class="btn blue">添加</button>
                        <span class="field-validation-error">${error}</span>
                    </div>
                </div>
            </form:form>
        </div>
    </div>

</div>
</body>
</html>